#!/usr/bin/env bash

mkdir -p /home/admin/.config && cp -r /home/admin/voidlinux/user/.config /home/admin/
echo
mkdir -p /home/admin/.fonts && cp /home/admin/voidlinux/user/.fonts/* /home/admin/.fonts/
cd .fonts
tar -xf font-awesome_roboto.tar.xz
rm font-awesome_roboto.tar.xz
cd ..
echo
mkdir -p /home/admin/.icons && cp /home/admin/voidlinux/user/.icons/* /home/admin/.icons/
cd .icons
tar -xf la-capitane_icons.tar.xz
tar -xf cursor-full.tar.xz
rm la-capitane_icons.tar.xz
rm cursor-full.tar.xz
cd ..
echo
mkdir -p /home/admin/.themes && cp /home/admin/voidlinux/user/.themes/* /home/user/.themes/
cd .themes
tar -xf main_best_themes.tar.xz 
rm main_best_themes.tar.xz
cd ..
echo
mkdir -p /home/admin/.wallpaper && cp /home/admin/voidlinux/user/.wallpaper/* /home/admin/.wallpaper/
echo
cp /home/admin/voidlinux/user/.bash_profile /home/admin/
echo
cp /home/admin/voidlinux/user/.bashrc /home/admin/
echo
cp /home/admin/voidlinux/user/.gtkrc-2.0 /home/admin/
echo
cp /home/admin/voidlinux/user/.xinitrc /home/admin/
echo
cp /home/admin/voidlinux/user/.Xresources /home/admin/
echo startx
